<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE html>
<head>
  <meta charset="utf-8">
  <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
  <title>Dashboard Tables, Free Admin Template</title>
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width">        
  <link rel="stylesheet" href="${ctx}/css/templatemo_main.css">
</head>
<body>
  <div id="main-wrapper">
    <div class="navbar navbar-inverse" role="navigation">
      <div class="navbar-header">
        <div class="logo"><h1>BeginCode管理后台</h1></div>
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button> 
      </div>   
    </div>
    <div class="template-page-wrapper">
      <div class="navbar-collapse collapse templatemo-sidebar">
        <ul class="templatemo-sidebar-menu">
          <li><a href="index.html"><i class="fa fa-home"></i>工作台</a></li>
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i> 内容审核 <div class="pull-right"><span class="caret"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="${ctx}/admin/blogCheck.jsp">博文审核</a></li>
              <li><a href="${ctx}/admin/blogCommentCheck.jsp">留言审核</a></li>
              <li><a href="${ctx}/admin/codeCommentCheck.jsp">代码留言审核</a></li>
            </ul>
          </li>
          <li><a href="${ctx}/resource/init"><i class="fa fa-cubes"></i>创建资源</a></li>
          <li class="sub">
            <a href="javascript:;">
              <i class="fa fa-database"></i>教程管理 <div class="pull-right"><span class="caret"></span></div>
            </a>
            <ul class="templatemo-submenu">
              <li><a href="${ctx}/admin/blogCheck.jsp">教程管理</a></li>
              <li><a href="${ctx}/course/init">创建教程</a></li>
              <li><a href="${ctx}/admin/codeCommentCheck.jsp">章节管理</a></li>
              <li><a href="${ctx}/chapter/wordChapter/init">创建章节</a></li>
            </ul>
          </li>
          <%--<li><a href="#"><i class="fa fa-cubes"></i><span class="badge pull-right">9</span>Data Visualization</a></li>--%>
          <%--<li><a href="#"><i class="fa fa-map-marker"></i><span class="badge pull-right">42</span>Maps</a></li>--%>
          <%--<li class="active"><a href="#"><i class="fa fa-users"></i><span class="badge pull-right">NEW</span>Manage Users</a></li>--%>
          <%--<li><a href="#"><i class="fa fa-cog"></i>Preferences</a></li>--%>
          <li><a href="#" data-toggle="modal" data-target="#confirmModal"><i class="fa fa-sign-out"></i>退出</a></li>
        </ul>
      </div><!--/.navbar-collapse -->

      <div class="templatemo-content-wrapper">
        <div class="templatemo-content">
          <ol class="breadcrumb">
            <li>工作台</li>
            <li>博文审核</li>
          </ol>
          <div class="row">
            <div class="col-md-12">
              <div class="table-responsive">
                <table class="table table-striped table-hover table-bordered">
                  <thead>
                    <tr>
                      <th>序号</th>
                      <th>标题</th>
                      <th>创建人</th>
                      <th>操作</th>
                    </tr>
                  </thead>
                  <tbody id="unCheckBlogs">

                  </tbody>
                </table>
              </div>
            </div>
          </div>
        </div>
      </div>
      <footer class="templatemo-footer">
        <div class="templatemo-copyright">
          <p>Copyright  <a href="http://www.begincode.net/" target="_blank">BeginCode</a></p>
        </div>
      </footer>
    </div>
</div>
    <script src="${ctx}/js/jquery.min.js"></script>
    <script src="${ctx}/js/bootstrap.min.js"></script>
    <script src="${ctx}/js/templatemo_script.js"></script>
    <script src="${ctx}/js/blog/blog.js"></script>
    <script type="application/javascript">
       blogUnCheckInit();
    </script>
  </body>
</html>